package com.ruoyi.employee.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班次管理对象 hr_shift
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public class HrShift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long shiftId;

    /** 班次名称 */
    @Excel(name = "班次名称")
    private String shiftName;

    /** 班次系数（用于计薪/计件权重） */
    @Excel(name = "班次系数", readConverterExp = "用=于计薪/计件权重")
    private BigDecimal coefFactor;

    /** 显示排序（越小越靠前） */
    @Excel(name = "显示排序", readConverterExp = "越=小越靠前")
    private Long sortNo;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setShiftId(Long shiftId) 
    {
        this.shiftId = shiftId;
    }

    public Long getShiftId() 
    {
        return shiftId;
    }

    public void setShiftName(String shiftName) 
    {
        this.shiftName = shiftName;
    }

    public String getShiftName() 
    {
        return shiftName;
    }

    public void setCoefFactor(BigDecimal coefFactor) 
    {
        this.coefFactor = coefFactor;
    }

    public BigDecimal getCoefFactor() 
    {
        return coefFactor;
    }

    public void setSortNo(Long sortNo) 
    {
        this.sortNo = sortNo;
    }

    public Long getSortNo() 
    {
        return sortNo;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shiftId", getShiftId())
            .append("shiftName", getShiftName())
            .append("coefFactor", getCoefFactor())
            .append("sortNo", getSortNo())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
